Payamito\Woocommerce\Modules\Abandoned\Abandonment D

Total Complexity 160
Dependencies 4
Dependents 1
Total lines 986
Lines of code 646
Logical lines of code 378
Comment lines 158
Methods 34
Properties 1

Methods 34

Method Rating Maintainability Complexity Lines of code
abandonment()
C
35 26 77
restore_cart_abandonment_data()
B
38 18 62
delete_cart_abandonment_data()
A
43 13 46
pwc_abandonment_ca_update_order_status()
A
47 12 32
save_cart_abandonment_data()
A
45 9 44
abandonment_completed()
A
50 9 27
abandonment_sended()
A
52 8 23
define_cart_abandonment_constants()
A
56 8 23
__construct()
S
52 5 23
cart_abandonment_tracking_script()
S
49 4 32
prepare_abandonment_data()
S
46 3 39
unsubscribe_cart_abandonment_emails()
S
55 4 18
is_first_send_template()
S
59 4 12
is_valid_token()
S
62 4 11
abandonment_history_update()
S
57 3 17
check_if_similar_cart()
S
68 4 7
is_time_send()
S
60 3 14
prepare_pattern_send()
S
61 3 12
skip_future_sms_when_order_is_completed()
S
57 2 17
fetch_scheduled_checkout()
S
63 2 10
get_instance()
S
71 2 6
get_cart_abandonment_tracking_cut_off_time()
S
74 2 4
get_captured_data_by_phone()
S
61 1 13
abandonment_history_insert()
S
62 1 12
get_tracked_data_without_status()
S
63 1 11
prepare_text_send()
S
91 1 2
delete_coupen()
S
80 1 3
add_cron()
S
66 1 8
get_checkout_details()
S
66 1 8
get_checkout_details_by_phone()
S
66 1 8
abandoned_cart_count()
S
67 1 7
pwc_abandonment_decode_token()
S
73 1 5
pattern_send()
S
72 1 5
delete_empty_abandoned_order()
S
67 1 8